//
//  LogoffActor.swift
//  App_Login
//
//  Created by 蒋晨成 on 2022/2/15.
//

import Center
import UICore

enum LogoffActor: Actable {
    static func act(values _: [String: Any]) -> Bool {
        UserCenter.logoff { result in
            switch result {
            case .success:
                enterAppCallback?()
            case .failure:
                break
            }
        }
        return true
    }

    static let routePattern: String = "security/logoff"
}
